package com.xxxy.blockhandler;

import com.alibaba.csp.sentinel.slots.block.BlockException;
import jdk.nashorn.internal.ir.Block;
import org.springframework.stereotype.Component;

@Component
public class MonitorBlockHandler {

    public static String helloBlockHander(BlockException e){
        System.out.println("网络系统繁忙，请稍后再试");
        return "网络系统繁忙，请稍后再试";
    }
}
